#ifndef TIMER_H
#define TIMER_H

#include <QObject>

class QTimer;

class Timer : public QObject
{
    Q_OBJECT
    Q_PROPERTY( int interval READ interval WRITE setInterval NOTIFY intervalChanged )
    Q_PROPERTY( int e READ e WRITE setE NOTIFY eChanged)


public:
    explicit Timer( QObject* parent = 0 );

    void setInterval( int msec );
    void setE(int b);
    int e();
    int interval();
    void aa(int);
signals:
    void out();
    void intervalChanged();
    void eChanged();
    void ch();
    void timestart();



private:

    QTimer* m_timer;
};

#endif // TIMER_H
